.class Lcom/waiqin365/lightapp/kehu/ee;
.super Landroid/os/Handler;


# instance fields
.field final synthetic a:Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;


# direct methods
.method constructor <init>(Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;)V
    .locals 0

    iput-object p1, p0, Lcom/waiqin365/lightapp/kehu/ee;->a:Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;

    invoke-direct {p0}, Landroid/os/Handler;-><init>()V

    return-void
.end method


# virtual methods
.method public handleMessage(Landroid/os/Message;)V
    .locals 4

    const v2, 0x7f08013b

    const/4 v3, 0x0

    invoke-super {p0, p1}, Landroid/os/Handler;->handleMessage(Landroid/os/Message;)V

    iget v0, p1, Landroid/os/Message;->what:I

    packed-switch v0, :pswitch_data_0

    :cond_0
    :goto_0
    return-void

    :pswitch_0
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ee;->a:Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;->dismissProgressDialog()V

    iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v0, Lcom/waiqin365/lightapp/kehu/a/a/au;

    if-eqz v0, :cond_1

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/a/a/au;->b()Z

    move-result v1

    if-eqz v1, :cond_1

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/ee;->a:Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;

    iget-object v2, v0, Lcom/waiqin365/lightapp/kehu/a/a/au;->f:Ljava/util/ArrayList;

    invoke-static {v1, v2}, Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;->a(Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;Ljava/util/ArrayList;)Ljava/util/ArrayList;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/ee;->a:Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/a/a/au;->g:Ljava/util/ArrayList;

    invoke-static {v1, v0}, Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;->b(Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;Ljava/util/ArrayList;)Ljava/util/ArrayList;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ee;->a:Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;

    new-instance v1, Ljava/util/ArrayList;

    invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V

    invoke-static {v0, v1}, Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;->c(Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;Ljava/util/ArrayList;)Ljava/util/ArrayList;

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ee;->a:Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;->b(Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;)Ljava/util/ArrayList;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/ee;->a:Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;->a(Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;)Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->addAll(Ljava/util/Collection;)Z

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ee;->a:Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;->b(Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;)Ljava/util/ArrayList;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/ee;->a:Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;->c(Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;)Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v0, v1}, Ljava/util/ArrayList;->addAll(Ljava/util/Collection;)Z

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ee;->a:Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;->d(Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;)Lcom/waiqin365/lightapp/kehu/b/bh;

    move-result-object v0

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/ee;->a:Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;

    invoke-static {v1}, Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;->b(Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;)Ljava/util/ArrayList;

    move-result-object v1

    invoke-virtual {v0, v1}, Lcom/waiqin365/lightapp/kehu/b/bh;->a(Ljava/util/ArrayList;)V

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ee;->a:Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;

    invoke-static {v0}, Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;->d(Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;)Lcom/waiqin365/lightapp/kehu/b/bh;

    move-result-object v0

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/b/bh;->notifyDataSetChanged()V

    goto :goto_0

    :cond_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ee;->a:Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/ee;->a:Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;

    invoke-virtual {v1, v2}, Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1, v3}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    goto :goto_0

    :pswitch_1
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ee;->a:Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;->dismissProgressDialog()V

    iget-object v0, p1, Landroid/os/Message;->obj:Ljava/lang/Object;

    check-cast v0, Lcom/waiqin365/lightapp/kehu/a/a/av;

    if-eqz v0, :cond_2

    invoke-virtual {v0}, Lcom/waiqin365/lightapp/kehu/a/a/av;->b()Z

    move-result v1

    if-eqz v1, :cond_2

    iget-object v0, v0, Lcom/waiqin365/lightapp/kehu/a/a/av;->d:Ljava/lang/String;

    const-string/jumbo v1, "1"

    invoke-virtual {v1, v0}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v0

    if-eqz v0, :cond_0

    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ee;->a:Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/ee;->a:Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;

    const v2, 0x7f080718

    invoke-virtual {v1, v2}, Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1, v3}, Lcom/waiqin365/lightapp/view/dk;->a(Landroid/content/Context;Ljava/lang/CharSequence;I)V

    new-instance v0, Landroid/content/Intent;

    invoke-direct {v0}, Landroid/content/Intent;-><init>()V

    const-string/jumbo v1, "selectedItems"

    iget-object v2, p0, Lcom/waiqin365/lightapp/kehu/ee;->a:Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;

    invoke-static {v2}, Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;->a(Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;)Ljava/util/ArrayList;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/ee;->a:Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;

    invoke-virtual {v1, v0}, Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;->back(Landroid/content/Intent;)V

    goto/16 :goto_0

    :cond_2
    iget-object v0, p0, Lcom/waiqin365/lightapp/kehu/ee;->a:Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;

    iget-object v1, p0, Lcom/waiqin365/lightapp/kehu/ee;->a:Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;

    invoke-virtual {v1, v2}, Lcom/waiqin365/lightapp/kehu/CMFilterEditActivity;->getString(I)Ljava/lang/String;

    move-result-object v1

    invoke-static {v0, v1, v3}, Landroid/widget/Toast;->makeText(Landroid/content/Context;Ljava/lang/CharSequence;I)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V

    goto/16 :goto_0

    :pswitch_data_0
    .packed-switch 0x15
        :pswitch_0
        :pswitch_1
    .end packed-switch
.end method
